package com.wing.common.constant;

/**
 * 全局常量
 *
 * @author
 */
public interface GlobalConstants {

    Integer STATUS_YES = 1;

    String DEFAULT_USER_PASSWORD = "123456";

    String ROOT_ROLE_CODE = "519906343969112064";

    String URL_AUTH_ROLES_KEY = "system:auth_roles_rule:url:";
    String BTN_AUTH_ROLES_KEY = "system:auth_roles_rule:btn:";

    String APP_ACCESS_KEY = "system:app_access_auth:info:";

    String DICT_LABEL_KEY = "dictLabelRedis";

    /**
     * 管理员ID
     */
    public static final Long ADMIN = 1159451559864807426L;
    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     * 升序
     */
    public static final String ASC = "asc";

    public static final String DESC = "desc";
    /**
     * 树路径分隔号
     */
    public static final String TREE_PATH_SEPARATOR = ",";


    // Rsa 公钥MII
    public static String publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCQEVHQqgLCoiErbSdICogItLp0OfE8b+m3WbG1ibUP58YN+ywLmodtL8IVWO4iqWC2UnxX8jDmQukcHuNCHDHx+W48gXEoPYMDwysBHlz3eZjBGzH28Il+FdGGgKwzw8IG15sHTkBlltRPPFQOEbh9eF/oUZLwiZm3/RCEOO2OnwIDAQAB";
    // Rsa 私钥MII
    public static String privateKey = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJARUdCqAsKiISttJ0gKiAi0unQ58Txv6bdZsbWJtQ/nxg37LAuah20vwhVY7iKpYLZSfFfyMOZC6Rwe40IcMfH5bjyBcSg9gwPDKwEeXPd5mMEbMfbwiX4V0YaArDPDwgbXmwdOQGWW1E88VA4RuH14X+hRkvCJmbf9EIQ47Y6fAgMBAAECgYBy1ltxCRPKMZJfG1MEieCFkApQOx+gHVUfYc/V9T7uvsGQw3YIidUJo9gBTDIGTx1YN8gGEngIE63dTIG6YN8t3WOd7ntdSdIiO6f0uRu/NyoVDZx6kQQ2cR12ZGIsbDlRjLMJ48GJYtiEf8TTNzEOVG1OK1eXM3FZFX7Io26ugQJBAN2poDo945rVGFMzcPC0FtJLhCkt4LLrKclgA37NUZjZab0aRfEcTAEvNg2eLdTxJuyw9+uZo4XFUJaKtU+wysMCQQCmYou5UNkxJfsNH7S2AfxlPLZwZq7pfk1zeJwqwd5pcxeL24TM0MRVk6fr8Kq0aEgDbsoDx5P/ebQgs5t3Clb1AkEAuL0SiPfjpbtMFqucyT+OdZ3ye898oiFUJj0bLKc6BkXM1on7GMQYpDQQvLDESeDiLAoh1f2qR2b3jz/zdINHuQJAAQiFo53761E4EOnMfoDep2ZMH8CTf4G4S2pJVf6kOfVsBQNU/MyjG4DyPwXcmYg4QkUy3fkkUybXVoinA4M97QJASlYiHoFVQyY8cdjmBcDOTp9I7nJ/31rxKmhcRLWfriLA5HQSeiAg9fEtgUhSxwacXe5s0z7osudUOTa4CnwWxA==";


    public static String CAB_VERSION = "201";

    public static String WCAB_VERSION = "130";


    // 业务数据库前缀
    public static final String BUSINESS_PREFIX = "cloud-digital-system";

    // 用户数据库前缀
    public static final String USER_PREFIX = "cloud-digital-system-user";

    // 数智工厂测试服务器内网ip
    public static final String ADDRESS = "10.206.16.5";
    // TDSQL数据库内网ip
//    public static final String ADDRESS = "10.206.16.15";
    // 开发库ip
    public static final String DEVELOP_ADDRESS = "124.232.154.35";

    // 端口
    public static final String PORT = "3306";
    // 开发库端口
    public static final String DEVELOP_PORT = "40131";

    // 数据库用户名
    public static final String USERNAME = "root";
    // 开发数据库用户名
    public static final String DEVELOP_USERNAME = "root";

    // 数据库密码
    public static final String PASSWORD = "123456!Ab";
    // 开发数据库密码
    public static final String DEVELOP_PASSWORD = "Root@7Ud*&d#78Rc23Dfd^";


}
